package cn.wonderland;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;


/**
 * @Description 用户服务启动类
 * @Author Raymon
 * @Date 2023/4/7 10:42
 * @Version 1.0
 */
@MapperScan("cn.wonderland.mapper")
@SpringBootApplication
// 表名此服务是Eureka客户端，开启Eureka客户端功能，不加此注解默认也开启客户端功能
@EnableEurekaClient
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}


